package com.atguigu.gmall.order.mapper;

import com.atguigu.gmall.model.order.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    IPage<OrderInfo> selectOrder(Page<OrderInfo> cartInfoPage, @Param("userId") String userId, @Param("orderStatus") String orderStatus);
}
